luci-base: fix rendering ucode templates from `template` target
authorJo-Philipp Wich <[email protected]>
Tue, 22 Nov 2022 08:41:31 +0000 (09:41 +0100)
committerJo-Philipp Wich <[email protected]>
Tue, 22 Nov 2022 08:41:31 +0000 (09:41 +0100)
commita5d21dadbd5f856c7c941a7abd1a8442f8a91de8
tree4e016acee8eae81679e78bb37ec4180d269abbe1
parent7c3705bb0f351e1d107c38e21bf7d0480824baa0
luci-base: fix rendering ucode templates from `template` target

A previous commit inadvertently broke support for rendering ucode templates
from the `template` dispatcher target.

Fixes: #6111
Fixes: fa17c1573f ("luci-base, luci-lua-runtime: adjust Lua template environment")
Signed-off-by: Jo-Philipp Wich <[email protected]>
modules/luci-base/ucode/dispatcher.uc
modules/luci-base/ucode/runtime.uc